<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>签到报警日志及统计</title>
    <link rel="icon" href="../static/img/icon.png">
    <link rel="stylesheet" href="../static/js/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <link rel="stylesheet" href="../static/css/style.css">
    <style>
        .bg-con {
            height: 90%;
            margin-top: 5%;
            flex-direction: column;
            justify-content: space-around;
            justify-content: space-evenly;
            position: absolute;
            z-index: 0;
            width: 97%;

            .contain-top {
                height: 43%;
                width: 96%;
                margin-left: 2%;
                display: flex;
                justify-content: space-between;

                .topLeft {
                    width: 32%;
                    height: 100%;
                }

                .topRight {
                    width: 65%;
                    height: 100%;
                }
            }

            .contain-bottom {
                height: 48%;
                width: 96%;
                margin-left: 2%;
            }
        }

        .contain-table-list {
            min-height: 6rem;
        }

        .switch-type {
            width: 1rem;
            height: 0.32rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #36837B;
            cursor: pointer;
            margin-left: 0.1rem;


        }

        .switch-type.active {
            background: linear-gradient( 45deg, rgb(85, 215, 207) 0%, rgb(63, 172, 161) 100%);

        }

        .switch-tool {
            position: absolute;
            top: 0.8rem;
            width: 50%;
            left: 17%;
            height: 0.5rem;
            display: flex;
            align-items: center;
            z-index: 1;
        }
    </style>
</head>

<body>
    <div class="app" style="overflow: hidden;">
        <div class="header animate__animated animate__slideInDown">
            <div class="header-title">训战研判系统平台</div>
            <div class="header-menu">

            </div>
        </div>
        <div class="contain">
            <div class="contain-menu animate__animated animate__slideInLeft">

            </div>
            <div class="contain-table-tool switch-tool">
                <div class="switch-type active" data-type="1">告警日志</div>
                <div class="switch-type" data-type="2">告警统计</div>
            </div>
            <div class="contain-table contain-table1" style="height: calc(100% - 0.5rem);margin-top: 0.5rem;">
                <div class="contain-table-tool">
                    <form class="layui-form" action=""
                        style="background: linear-gradient(to right, rgba(0,0,0,0),rgba(2, 36, 55,0.8));padding-left: 0.05rem;">
                        <div class="form-item">
                            <input type="text" name="date" placeholder="时间查询" class="layui-input" id="input-date"
                                lay-affix="clear" />
                        </div>
                        <div class="layui-btn" lay-submit lay-filter="search"><img src="../static/img/icon2.png">查询
                        </div>
                        <button type="reset" id="resetSearch"
                            class="layui-btn layui-btn-primary btn-reset layui-hide">重置</button>
                    </form>
                </div>
                <div class="contain-table-list">
                    <table id="table" lay-filter="table"></table>
                </div>
            </div>
            <div class="contain-table contain-table2" style="position: relative;display: none;">
                <div class="contain-table-list bg-con">
                    <div class="contain-top">
                        <div class="topLeft chart-border">
                            <div class="chart-title">
                                <span>近三年未签到总数统计</span>
                            </div>
                            <div class="chart-all">

                            </div>
                        </div>
                        <div class="topRight chart-border">
                            <div class="chart-title">
                                <span>年度每月未签到趋势统计图</span>
                                <div class="chart-tool layui-form">
                                    <input type="text" class="layui-input" id="laydate-type-year" placeholder="请选择年份">
                                </div>
                            </div>
                            <div id="countByYear" class="chart-con"></div>
                        </div>
                    </div>
                    <div class="contain-bottom chart-border">
                        <div class="chart-title">
                            <span>月度每日未签到趋势统计图</span>
                            <div class="chart-tool layui-form">
                                <input type="text" class="layui-input" id="laydate-type-month" placeholder="请选择月份">
                            </div>
                        </div>
                        <div id="countByMonth" class="chart-con"></div>
                    </div>

                </div>
            </div>
        </div>
    </div>



    <script type="text/javascript" src="../static/js/util/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/app.js"></script>
    <script type="text/javascript" src="../static/js/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/util/echarts.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/clockinWarn.js"></script>
    <script type="text/javascript" src="../static/js/biz/charts.js"></script>
</body>

</html>